package homework.tcp;

import java.io.IOException;
import java.net.Socket;

public class TestClient3 {

    public static void main(String[] args) {
        //39.106.165.211
        try {
            Socket socket = new Socket("127.0.0.1", 9999);
            System.out.println("客户端启动....");
            new Thread(new ClientSend(socket)).start();
            new Thread(new ClientAccept(socket)).start();

        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
